using System;
using System.Runtime.Serialization;
namespace MicroMsg.UI.Page
{
	[DataContract]
	public class FBUser
	{
		[DataContract]
		public class FBHomeTown
		{
			private string m_strName;
			[DataMember(Name = "name")]
			public string Name
			{
				get
				{
					return this.m_strName ?? "";
				}
				set
				{
					this.m_strName = value;
				}
			}
		}
		private string m_strID;
		private string m_strName;
		private string m_strPictureLink;
		private string m_strGender;
		private string m_strLink;
		private FBUser.FBHomeTown m_fbjtHomeTown;
		[DataMember(Name = "id")]
		public string ID
		{
			get
			{
				return this.m_strID ?? "";
			}
			set
			{
				this.m_strID = value;
			}
		}
		public string PicLink
		{
			get
			{
				return string.Format("http://graph.facebook.com/{0}/picture", this.m_strID ?? "100000886762882");
			}
		}
		[DataMember(Name = "name")]
		public string Name
		{
			get
			{
				return this.m_strName ?? "";
			}
			set
			{
				this.m_strName = value;
			}
		}
		[DataMember(Name = "picture")]
		public string PictureLink
		{
			get
			{
				return this.m_strPictureLink ?? "";
			}
			set
			{
				this.m_strPictureLink = value;
			}
		}
		[DataMember(Name = "gender")]
		public string Gender
		{
			get
			{
				return this.m_strGender ?? "";
			}
			set
			{
				this.m_strGender = value;
			}
		}
		[DataMember(Name = "link")]
		public string Link
		{
			get
			{
				return this.m_strLink ?? "";
			}
			set
			{
				this.m_strLink = value;
			}
		}
		[DataMember(Name = "hometown")]
		public FBUser.FBHomeTown HomeTown
		{
			get
			{
				FBUser.FBHomeTown arg_1C_0;
				if ((arg_1C_0 = this.m_fbjtHomeTown) == null)
				{
					arg_1C_0 = new FBUser.FBHomeTown
					{
						Name = ""
					};
				}
				return arg_1C_0;
			}
			set
			{
				this.m_fbjtHomeTown = value;
			}
		}
	}
}
